<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!-- 引入标签库-->
<%@ include file="/pages/inc/taglibs.jsp" %>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>发文</title>
</head>
<body>
<div style="width: 100%;margin: auto;padding: 1em 0;">
<style type="text/css">
	.staticTd13{
		width: 13%;
	}
	.dynamicTd20{
		width: 35%;
	}
	.dynamicTd21{
		width: 21%;
	}
	.dynamicTd87{
		width: 87%;
	}
	.liNote{
		list-style-type:none;margin: 0;
	}
	.marginTop{
		margin-top: 8px;
	}
</style>
	<form id="docIssueForm">
		<input id="signatoryTime" name="signatoryTime" type="hidden" value="<fmt:formatDate value="${docIssue.signatoryTime}" pattern="yyyy-MM-dd HH:mm:ss" />">
		<input id="docId" name="docId" type="hidden"  value="<c:out value='${docIssue.docId}'/>"/>
		<input id="formId" name="formId" type="hidden"  value="<c:out value='${docIssue.formId}'/>"/>
		<input id="processId" name="processId" type="hidden"  value="<c:out value='${docIssue.processId}'/>"/>
		<input id="workEffortId" name="workEffortId" type="hidden" value="<c:out value='${workEffortId}'/>"/>
		<input id="saveFlag" name="saveFlag" type="hidden" value="<c:out value='${saveFlag}'/>"/>
		<input type="hidden" id="numberLogId" name="numberLogId" value="">	
		<input type="hidden" id="numberId" name="numberId" value="">
		<input type="hidden" id="displayNumberYear" name="displayNumberYear" value="<c:out value='${numYear}'/>">
		<table id="docIssueTable" class="inputTable">
			<caption id="captionValue" style="text-align: left;"><c:out value='${docIssue.formName}' />（<c:out value='${docIssue.participantType}' />）</caption>
			
			<tr>
				<td class="staticTdNW staticTd13">编<span class="spaceSpan"></span>号</td>
				<td class="dynamicTdNW dynamicTd87" colspan="3">
				<c:if test="${saveFlag eq '1'}">
				<input id="numOrg"  disabled="disabled" class="easyui-textbox" type="text" value="<c:out value='${docIssue.draftOrg}'/>"/>-SXCL-<input id="numYear"  disabled="disabled" class="easyui-textbox" type="text" value="<c:out value='${numYear}'/>">
					-<input id="numMonth"  disabled="disabled" class="easyui-textbox" type="text" value="<c:out value='${numMonth}'/>">-<input id="num" name="num"  class="easyui-textbox" type="text" value="${num}"  disabled="disabled">
				<input type="hidden" id="displayNumber" name="displayNumber" value="<c:out value='${docIssue.displayNumber}'/>">
				</c:if>
				<c:if test="${saveFlag eq '0'}">
				<input id="displayNumber" name="displayNumber" style="width: 250px;" data-options="editable:false"  class="easyui-textbox" type="text" value="<c:out value='${docIssue.displayNumber}'/>"/>
				</c:if>
				</td>
			</tr>
			<tr>
				<td class="staticTdNW staticTd13">标<span class="spaceSpan"></span>题</td>
				<td class="dynamicTdNW dynamicTd87" colspan="3">
					<input id="docName" name="docName" style="width: 85%;" value="<c:out value='${docIssue.docName}' />" />
				</td>
			</tr>
			<tr>
				<td class="staticTdNW staticTd13">来文编号</td>
				<td class="dynamicTdNW dynamicTd20">
					<input id="displayNumberReceive" name="displayNumberReceive" style="width:70%" type="text" value="<c:out value='${docIssue.displayNumberReceive}'/>"/>
				</td> 
				<td class="staticTdNW staticTd13">来文单位</td>
				<td class="dynamicTdNW dynamicTd20" >
					<input id="receiveOrg" name="receiveOrg" type="text"  style="width: 70%;" value="<c:out value='${docIssue.receiveOrg}' />" />
				</td>
			</tr>
			<tr>
				<td class="staticTdNW staticTd13">是否归档</td>
				<td class="dynamicTdNW dynamicTd20">
					<select id="isArchive" name="isArchive"  style="width: 100px;">
								<option value="0" <c:if test="${docIssue.isArchive=='0' }">selected="selected"</c:if>>不归档</option>
						        <option value="1" <c:if test="${docIssue.isArchive=='1' }">selected="selected"</c:if>>归档</option>
					  </select>
				</td> 
				
				
				<td class="staticTdNW staticTd13">拟稿时间</td>
				<td class="dynamicTdNW dynamicTd20">
					<input id="createTime" name="createTime" style="width:70%" type="text" 
    				value="<fmt:formatDate value="${docIssue.createTime}" pattern="yyyy-MM-dd" />" />
				</td>
			</tr>
			<tr>
	
			
			
			
			<tr>
				<td class="staticTdNW staticTd13">经办部门</td>
				<td class="dynamicTdNW dynamicTd20">
					<input id="draftOrg" name="draftOrg" style="width:70%" type="text" value="<c:out value='${docIssue.draftOrg}'/>"/>
        			<%-- <input id="draftOrgCode" name="draftOrgCode" type="hidden" value="<c:out value='${docIssue.draftOrgCode}'/>"/>
        			<input id="dispatchOrgCode" name="dispatchOrgCode" type="hidden" value="<c:out value='${docIssue.dispatchOrgCode}'/>"/>
        			<input id="dispatchOrg" name="dispatchOrg" type="hidden" value="<c:out value='${docIssue.dispatchOrg}'/>"/> --%>
				</td>
				<td class="staticTdNW staticTd13">经<span class="spaceSpanHalf"></span>办<span class="spaceSpanHalf"></span>人</td>
				<td class="dynamicTdNW dynamicTd20">
					<input id="drafter" name="drafter" style="width:70%" type="text" value="<c:out value='${docIssue.drafter}'/>"/>
			     	<input id="drafterCode" name="drafterCode" type="hidden"  value="<c:out value='${docIssue.drafterCode}'/>"/>
			        <input id="topOrgCode" name="topOrgCode" type="hidden"  value="<c:out value='${docIssue.topOrgCode}'/>"/>
				</td>
					
			</tr>

			<tr>
				<td class="staticTdNW">内容摘要</td>
				<td class="dynamicTdNW" colspan="3">
					<textarea id="receiveRemark" name="receiveRemark" style="width: 80%;height:100px" ><c:out value='${docIssue.receiveRemark}' /></textarea>
				</td>
			</tr>

			<!-- <tr>
				<td class="staticTdNW staticTd13">正<span class="spaceSpan"></span>文</td>
				<td class="dynamicTdNW dynamicTd87" colspan="3">
					<div class="inlineBlock">  
		            	<a id="wordLink" href="#" class="easyui-linkbutton" plain="true" onclick="_openWord();">编辑正文</a> 
		        	</div>
				</td>
			</tr>		 -->	
			<tr>
				<td class="staticTdNW">附<span class="spaceSpan"></span>件</td>
				<td class="dynamicTdNW" colspan="3">
					<div id="fileDiv"></div>
				</td>
			</tr>
			<tr>
				<td class="staticTdNW">拟办意见</td>
				<td class="dynamicTdNW" colspan="3">
					<textarea id="draftingOpinions" name="draftingOpinions" class="easyui-textbox" type="text" style="width: 80%;height:100px" ><c:out value='${docIssue.draftingOpinions}' /></textarea>
				</td>
			</tr>
				<tr id="signDateShow" style="display:none">
				<td class="staticTdNW staticTd13">会签时限</td>
				<td class="dynamicTdNW dynamicTd20" colspan="5">
				   <input id="signDate" class="easyui-textbox" name="signDate" style="width:20%" type="text" 
    				value="<fmt:formatDate value="${signDate}" pattern="yyyy-MM-dd" />" disabled="disabled"/>
				</td>
			</tr>
		</table>
	</form>
	<%@ include file="/pages/jsp/docIssue/correlationIssue.jsp" %>

	<div id="divZS"></div>
	<div id="divCB"></div>
	<div id="divCS"></div>
	<div id="divFS"></div>
	<div id="divHQ"></div>
	
	<div id="divZSR"></div>
	<div id="divCBR"></div>
	<div id="divCSR"></div>
	<div id="divFSR"></div>
	<div id="divHQR"></div>
	<script type="text/javascript">
		<%@ include file="/pages/jsp/commom/validator.js" %>
		<%@ include file="/pages/jsp/docProcessingPaper/docProcessingPaperNew.js" %>
	</script>
</div>
</body>
</html>